/**
* Created by Phantom on 03/08/14.
*/
var appEstim = angular.module('appEstim',['ngAnimate']); // app du site
appEstim.controller('headerCtrl',function($scope,$http) {
    $scope.goPage = function() {
        //http://devzone.co.in/angularjs-simple-example-post-data-php-page/
            $http.post('index.php?modules=managerUser&action=getInterfaceInscription',
                {}
            ).success(function(data) {
                    if (data)
                    {
                        $("#content").empty();
                        $("#content").html(data);
                    }
                }).error(function(data) {
                    //gestion erreur
                }
            );
    }
});